package com.brother.realtime.config;

public class TimeZoneConfig implements Config {

	public static final String DISABLE = "123456L+00";
	
	public static final String ENABLE = "123456L";
	
	private String timeZone;
	private String work;
	
	public String getWork() {
		return work;
	}

	public void setWork(String work) {
		this.work = work;
	}

	public String getTimeZone() {
		return timeZone;
	}

	public void setTimeZone(String timeZone) {
		this.timeZone = timeZone;
	}
	
	

	@Override
	public byte[] getData() {
		if(ENABLE.equals(work)){
			return (ENABLE+timeZone).getBytes();
		}
		return DISABLE.getBytes();
	}

}
